package com.pm25.response;

import java.lang.reflect.Type;
import java.util.ArrayList;
import java.util.List;

import com.google.gson.reflect.TypeToken;
import com.pm25.response.bean.Pm10;

public class Pm10Response extends AbstractResponse {
	
	private List<Pm10> pm10;

	public Pm10Response(String responseBody) {
		super(responseBody);
	}

	@Override
	public void parseResult() {
		Type type = new TypeToken<ArrayList<Pm10>>() {
		}.getType();
		pm10 = gson.fromJson(responseBody, type);
	}

	public List<Pm10> getPm10() {
		return pm10;
	}

}
